Replication of �Who Wants to Hire a More Diverse Faculty? A Conjoint Analysis of Faculty and Student Preferences for Gender and Racial/Ethnic Diversity� (John M. Carey, Kevin Carman, Katherine Clayton, Yusaku Horiuchi, Mala N. Htun, and Brittany Ortiz). 
* Description:  What explains the scarcity of women and under-represented minorities among university faculty relative to their share of Ph.D. recipients? Among many potential explanations, we focus on the �demand� side of faculty diversity. Using fully randomized conjoint analysis, we explore patterns of support for, and resistance to, the hiring of faculty candidates from different social groups at two large public universities in the U.S. We find that faculty are strongly supportive of diversity: holding other attributes of (hypothetical) candidates constant, for example, faculty at both universities are between 11 to 21 percentage points more likely to prefer a Hispanic, black, or Native American candidate to a white one. Furthermore, preferences for diversity in faculty hiring are stronger among faculty than among students. These results suggest that the primary reason for the lack of diversity among faculty is not a lack of desire to hire them, but the accumulation of implicit and institutionalized biases, and their related consequences, at later stages in the pipeline.* Files included in this compressed replication package:- UNM-UNR.Rproj * The .Rproj file for RStudio[folder] data * This folder contains CSV files necessary for replication.
[folder] documents * This folder contains documents relevant to this project, including php scripts and codebooks.
[folder] figures * This folder contains all figures generated by R scripts, as well as CSV files saving all results.
[folder] tables * This folder contains the data for Table B.1.
[folder] functions * This folder contains functions used in R scripts.
[folder] scripts * This folder contains the following R scripts to replicate all results.

- unm.R
- unr.R
- demographics.R
* Programs used to verify replication: 

- R 3.5.0
- Install and load the following packages:

library(tidyverse) # 1.2.1
library(cjoint) # 2.0.6
library(qualtRics) # 3.0
library(ggthemes) # 3.4.2
library(readxl) # 1.1.0
library(ggrepel) # 0.7.0

* Process of replication:

(1) Download and uncompress ReplicationPackage file
(2) Install additional packages necessary for this project
(3) Set the working directory, which is the folder with UNM-UNR.Rproj
(4) Run the R scripts

* Notes

- All data are de-identified. Variables not used in this paper are excluded. 
- The codebooks only include variables used in this paper.

* Most recent date of successful replication: June 13, 2018
